package com.fa4j.system.settings;

import com.fa4j.system.settings.dto.SystemDictBatchSaveRequest;
import jakarta.validation.Valid;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(contextId = "dictClient", name = "fa4j-system", path = "/system/settings/dict")
public interface DictClient {

    @PostMapping("batchSave")
    void batchSave(@Valid @RequestBody SystemDictBatchSaveRequest request);
}
